﻿using Iworld.Basis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Game.Model
{
    /// <summary>
    /// 牌局信息
    /// </summary>
    public class GameRound : ModelBase
    {
        /// <summary>
        /// 所属牌轮信息
        /// </summary>
        public virtual GameChapter GameChapter { set; get; }

        /// <summary>
        /// 局号
        /// </summary>
        public int RoundNum { set; get; }

        /// <summary>
        /// 开出的花色
        /// </summary>
        public PokerColor PokerColor { set; get; }

        /// <summary>
        /// 开出的数字
        /// </summary>
        public PokerNumber PokerNumber { set; get; }

        /// <summary>
        /// 是否已经封单过
        /// </summary>
        public bool IsClosureSingle { set; get; }

        /// <summary>
        /// 是否开奖
        /// </summary>
        public bool IsLottery { set; get; }

        /// <summary>
        /// 实际开奖的时间
        /// </summary>
        public DateTime? LotteryTime { get; set; }

        /// <summary>
        /// 是否被编辑过
        /// </summary>
        public bool IsEdited { set; get; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? EditTime { set; get; }

        /// <summary>
        /// 编辑管理员ID
        /// </summary>
        public int EditAdministratorId { set; get; }

    }
}
